﻿using LetsTestAPI.EDM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace LetsTestAPI.Models
{
    public class SpecialistModel
    {
        public UserModel user;
        public string MajorSpeciality, Position;
        public List<Technology> Technologies;
        public int EvaluatedTests;

        public SpecialistModel(Specialist specialist)
        {
            user = new UserModel(specialist.User);
            this.MajorSpeciality = specialist.MajorSpeciality;
            this.Position = specialist.Position;

        }
    }
}